import React from "react";
import { createHashRouter } from "react-router-dom";
import Layout from "../layout/layout";

const router = createHashRouter([
  {
    element: <Layout />,
    children: [
      {
        path: "/",
        Component: React.lazy(() => import("../pages/home")),
      },
    ],
  },
]);

export default router;
